package cn.juque.datapipeline.api.enums;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>TaskTypeEnum</li>
 * </ul>
 * @date 2023-03-31 17:02:40
 **/
public enum TaskTypeEnum {

    /**
     * ENUM
     */
    CHECK(1, "预检"),
    INSERT(2, "采数");

    private final Integer code;

    private final String label;

    TaskTypeEnum(Integer code, String label) {
        this.code = code;
        this.label = label;
    }

    public Integer getCode() {
        return code;
    }
}
